import { Request } from 'express';

export interface IAnnouncement {
  id: number;
  announcementName: string;
  announcementType: string;
  announcementContent: string;
  announcementAttachmentPath: string;
  announcementAttachmentName: string;
  announcementDate: string,
  announcementCreatorId: number;
  announcementCreatorName: number;
  announcementStatus: string;
};

export interface IGetAnnouncementByIdReq extends Request<{ id: IAnnouncement['id'] }> { }
export interface IAddAnnouncementReq extends Request { }
export interface IUpdateAnnouncementReq extends Request<{ id: IAnnouncement['id'] }, any> { }
export interface IDeleteAnnouncementReq extends Request<{ id: IAnnouncement['id'] }> { }